from django.urls import re_path, path, include
from rest_framework import routers
from . import views

router = routers.DefaultRouter()

# router.register(r"AlertSend", views.ThisFsygAlertViewSet, basename="00发送请求")
router.register(r"RecvSend", views.ThisFsygDataRecvSendViewSet, basename="01推送信息")
# router.register(r"WorkList", views.ThisFsygWorksGroupListViewSet, basename="02终端列表")

router.register(r"OrderList", views.FsygShopreqsnListViewSet, basename="10查询商品订单")
router.register(r"MemberDaed", views.FsygMemberLoadDataViewSet, basename="11处理异常会员")
router.register(r"MemberList", views.FsygMemberListViewSet, basename="12查询会员列表")
router.register(r"MemberLevel", views.FsygMemberLevelViewSet, basename="13会员等级对应列表")

urlpatterns = [
    path("", include(router.urls)),
]
